package com.dcms.admin.dao;

import com.dcms.admin.bean.Comment;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

public interface CommentMapper {
    int deleteByPrimaryKey(Integer commentId);

    int insert(Comment record);

    int insertSelective(Comment record);

    Comment selectByPrimaryKey(Integer commentId);

    int updateByPrimaryKeySelective(Comment record);

    int updateByPrimaryKeyWithBLOBs(Comment record);

    int updateByPrimaryKey(Comment record);

    List<Comment> selectAll(Map map);

    int updateToDeletedBatch(Integer[] id);
}